package net.osweb.crm.modules.tools.bean;

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Supportfaqrevert entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "tools_supportfaqrevert")
public class SupportFaqRevert implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1772483009013883961L;
	private Integer id;
	private Integer userid;
	private Integer supportfaqid;
	private String author;
	private Timestamp createdtime;
	private Timestamp modifiedtime;
	private Integer hadbest;
	private String comment;

	// Constructors

	/** default constructor */
	public SupportFaqRevert() {
	}

	/** full constructor */
	public SupportFaqRevert(Integer userid, Integer supportfaqid,
			String author, Timestamp createdtime, Timestamp modifiedtime,
			Integer hadbest, String comment) {
		this.userid = userid;
		this.supportfaqid = supportfaqid;
		this.author = author;
		this.createdtime = createdtime;
		this.modifiedtime = modifiedtime;
		this.hadbest = hadbest;
		this.comment = comment;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "userid")
	public Integer getUserid() {
		return this.userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	@Column(name = "supportfaqid")
	public Integer getSupportfaqid() {
		return this.supportfaqid;
	}

	public void setSupportfaqid(Integer supportfaqid) {
		this.supportfaqid = supportfaqid;
	}

	@Column(name = "author")
	public String getAuthor() {
		return this.author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	@Column(name = "createdtime", length = 19)
	public Timestamp getCreatedtime() {
		return this.createdtime;
	}

	public void setCreatedtime(Timestamp createdtime) {
		this.createdtime = createdtime;
	}

	@Column(name = "modifiedtime", length = 19)
	public Timestamp getModifiedtime() {
		return this.modifiedtime;
	}

	public void setModifiedtime(Timestamp modifiedtime) {
		this.modifiedtime = modifiedtime;
	}

	@Column(name = "hadbest")
	public Integer getHadbest() {
		return this.hadbest;
	}

	public void setHadbest(Integer hadbest) {
		this.hadbest = hadbest;
	}

	@Column(name = "comment")
	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

}